package com.docking.heylo.dao.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Appointment {
    private Integer id;

    private Integer userId;

    private String claim;

    private String picture;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date photoTime;

    private String addressName;

    private BigDecimal lon;

    private BigDecimal lat;

    private Integer pictureCount;

    private BigDecimal tipFee;

    private Integer peopleCount;

    private Byte gratis;

    private String promoCode;

    private BigDecimal startingPrice;

    private BigDecimal discount;

    private BigDecimal finalPrice;

    private Integer photographerId;

    private Integer status;

    private Integer duration;

    private Integer mScore;

    private Integer pScore;

    private Date crtAt;

    private Date paymentTime;

    private Date startingTime;

    private Date modelEndTime;

    private Date photographerEndTime;

    private Byte mEva;

    private Byte pEva;

    private Integer appeal;

    private String appealDesc;

    private String appealSucc;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getClaim() {
        return claim;
    }

    public void setClaim(String claim) {
        this.claim = claim == null ? null : claim.trim();
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture == null ? null : picture.trim();
    }

    public Date getPhotoTime() {
        return photoTime;
    }

    public void setPhotoTime(Date photoTime) {
        this.photoTime = photoTime;
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName == null ? null : addressName.trim();
    }

    public BigDecimal getLon() {
        return lon;
    }

    public void setLon(BigDecimal lon) {
        this.lon = lon;
    }

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }

    public Integer getPictureCount() {
        return pictureCount;
    }

    public void setPictureCount(Integer pictureCount) {
        this.pictureCount = pictureCount;
    }

    public BigDecimal getTipFee() {
        return tipFee;
    }

    public void setTipFee(BigDecimal tipFee) {
        this.tipFee = tipFee;
    }

    public Integer getPeopleCount() {
        return peopleCount;
    }

    public void setPeopleCount(Integer peopleCount) {
        this.peopleCount = peopleCount;
    }

    public Byte getGratis() {
        return gratis;
    }

    public void setGratis(Byte gratis) {
        this.gratis = gratis;
    }

    public String getPromoCode() {
        return promoCode;
    }

    public void setPromoCode(String promoCode) {
        this.promoCode = promoCode == null ? null : promoCode.trim();
    }

    public BigDecimal getStartingPrice() {
        return startingPrice;
    }

    public void setStartingPrice(BigDecimal startingPrice) {
        this.startingPrice = startingPrice;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getFinalPrice() {
        return finalPrice;
    }

    public void setFinalPrice(BigDecimal finalPrice) {
        this.finalPrice = finalPrice;
    }

    public Integer getPhotographerId() {
        return photographerId;
    }

    public void setPhotographerId(Integer photographerId) {
        this.photographerId = photographerId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Integer getmScore() {
        return mScore;
    }

    public void setmScore(Integer mScore) {
        this.mScore = mScore;
    }

    public Integer getpScore() {
        return pScore;
    }

    public void setpScore(Integer pScore) {
        this.pScore = pScore;
    }

    public Date getCrtAt() {
        return crtAt;
    }

    public void setCrtAt(Date crtAt) {
        this.crtAt = crtAt;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Date getStartingTime() {
        return startingTime;
    }

    public void setStartingTime(Date startingTime) {
        this.startingTime = startingTime;
    }

    public Date getModelEndTime() {
        return modelEndTime;
    }

    public void setModelEndTime(Date modelEndTime) {
        this.modelEndTime = modelEndTime;
    }

    public Date getPhotographerEndTime() {
        return photographerEndTime;
    }

    public void setPhotographerEndTime(Date photographerEndTime) {
        this.photographerEndTime = photographerEndTime;
    }

    public Integer getAppeal() {
        return appeal;
    }

    public void setAppeal(Integer appeal) {
        this.appeal = appeal;
    }

    public String getAppealDesc() {
        return appealDesc;
    }

    public void setAppealDesc(String appealDesc) {
        this.appealDesc = appealDesc;
    }

    public String getAppealSucc() {
        return appealSucc;
    }

    public void setAppealSucc(String appealSucc) {
        this.appealSucc = appealSucc;
    }

    public Byte getmEva() {
        return mEva;
    }

    public void setmEva(Byte mEva) {
        this.mEva = mEva;
    }

    public Byte getpEva() {
        return pEva;
    }

    public void setpEva(Byte pEva) {
        this.pEva = pEva;
    }
}